.\"   $OpenBSD: rd.4,v 1.6 2013/10/18 17:42:36 jmc Exp $
.\"
.\" This file is in the public domain.
.\"
.Dd $Mdocdate: October 18 2013 $
.Dt RD 4
.Os
.Sh NAME
.Nm rd
.Nd ramdisk driver
.Sh SYNOPSIS
.Cd "pseudo-device rd" Op Ar count
.Sh DESCRIPTION
The
.Nm
driver enables use of system or user memory as a disk.
Memory for the disk must be allocated and initialized inside the
kernel image at build-time using the
.Cm elfrdsetroot
tool.
.Pp
The
.Cm elfrdsetroot
tool is available as part of the distribution toolset.
.Sh FILES
.Bl -tag -width /dev/rrd??XXX -compact
.It Pa "/dev/rd??"
Block mode ramdisk devices.
.It Pa "/dev/rrd??"
Raw mode ramdisk devices.
.El
.Sh SEE ALSO
.Xr elf 5
